package edu.spec.teacher.dao.iface;

import edu.spec.teacher.model.UserElect;
import org.madgecko.basic.dao.IBaseDao;

import java.util.List;

/**
 * Author       : MadFrog
 * Date         : 2018/10/15 10:29
 * Description  :
 */
public interface IUserElectDao extends IBaseDao<UserElect> {
    List<UserElect> listEffectiveByUser(Integer userId);
    void deleteByElect(Integer electId);
}
